Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayExt Class / GetInt Method / GetInt(IPdfArray,Int32,Nullable<Int32>) Method
The current array.
The index of the item to return.
The default value.

In This Topic
    GetInt(IPdfArray,Int32,Nullable<Int32>) Method
    In This Topic
    Gets the nullable int value at the specified index.

    Returns defValue if the value cannot be converted to an int.

    Syntax
    'Declaration
     
    Public Overloads Shared Function GetInt( _
       ByVal array As IPdfArray, _
       ByVal index As System.Integer, _
       ByVal defValue As System.Nullable(Of Integer) _
    ) As System.Nullable(Of Integer)
    public static System.Nullable<int> GetInt( 
       IPdfArray array,
       System.int index,
       System.Nullable<int> defValue
    )

    Parameters

    array
    The current array.
    index
    The index of the item to return.
    defValue
    The default value.

    Return Value

    The value at the specified index.
    See Also